.Net Framework > v2.0.50727 > System > Diagnostics > Trace > Assert Assert(Boolean)
Assert(Boolean,String)
Assert(Boolean,String,String)


Assert(Boolean)

Category
Method
Description
Checks for a condition, and outputs the call stack if the condition is false.
Type
void
Character
public, static
Parameters
NameTypeDescription
conditionBoolean
Attributes
NameValue/Assignment
ConditionalAttributeTRACE
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Assert(Boolean,String)

Category
Method
Description
Checks for a condition, and displays a message if the condition is false.
Type
void
Character
public, static
Parameters
NameTypeDescription
conditionBoolean
messageString
Attributes
NameValue/Assignment
ConditionalAttributeTRACE
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Assert(Boolean,String,String)

Category
Method
Description
Checks for a condition, and displays both messages if the condition is false.
Type
void
Character
public, static
Parameters
NameTypeDescription
conditionBoolean
messageString
detailMessageString
Attributes
NameValue/Assignment
ConditionalAttributeTRACE
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database